home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 37
/
Amiga Format CD37 (1999-02-16)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-03].iso
/
+system+
/
tools
/
expert
/
libguide
/
myonlineupdate.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-12-15
|
3KB
|
49 lines
/* Library Online Update Generating Script */
Open("Lib","Ram:Lib-OnlineUpdate","R")
Open("HTML","Ram:Lib-OnlineUpdate.html","W")
writeln("HTML",'<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">')
writeln("HTML",'<meta name="GENERATOR" content="Online Library Update Form Generator 1.0">')
writeln("HTML",'<title>LibGuide Update Form</title>')
writeln("HTML",'</head><body bgcolor="#FFFFFF"><p align="center"> </p><form method="POST" action="http://amigasystem.org/cgi-bin/LDDSearch.cgi"><p align="center"> </p><div align="center"><center><table border="0" cellpadding="4" cellspacing="0" width="80%" bgcolor="#ECECEC"><tr><td align="center" valign="top" colspan="2" bgcolor="#C0C0C0"><font size="4"><strong>Welcome to the Online LibGuide Update Form</strong></font><strong><br>')
writeln("HTML",'</strong>Please go online, select a server for download and push the Search-Button.</td></tr><tr><td align="right" width="50%">Please select an Aminet-Server:</td><td width="50%"><select name="server" size="1">')
writeln("HTML",'<option selected value="1">http: USA</option>')
writeln("HTML",'<option value="2">http: Germany</option>')
writeln("HTML",'<option value="3">http: UK</option>')
writeln("HTML",'<option value="4">http: Italy</option>')
writeln("HTML",'<option value="5">http: Sweden</option>')
writeln("HTML",'<option value="6">http: Australia</option>')
writeln("HTML",'<option value="7">ftp: USA</option>')
writeln("HTML",'<option value="8">ftp: Germany</option>')
writeln("HTML",'<option value="9">ftp: UK</option>')
writeln("HTML",'<option value="10">ftp: Italy</option>')
writeln("HTML",'<option value="11">ftp: Sweden</option>')
writeln("HTML",'<option value="12">ftp: Australia</option>')
writeln("HTML",'</select></td></tr><tr><td align="right" width="50%"> </td><td width="50%"><input type="submit" name="B1" value="Search"></td>')
writeln("HTML",'</tr></table></center></div>')
i=0
Do While 1
zeile=readln("Lib")
If Eof("Lib") then leave
i=i+1
writeln("HTML",'<INPUT type="hidden" name="Lib'||i||'" value="'||zeile'">')
End
writeln("HTML",'<INPUT type="hidden" name="Anzahl" value="'||i'">')
writeln("HTML",'<INPUT type="hidden" name="mode" value="update">')
writeln("HTML",'<INPUT type="hidden" name="type" value="lib">')
Open("lang","ENV:language","R")
language=readln("lang")
Close("lang")
If language="deutsch" then
writeln("HTML",'<INPUT type="hidden" name="lang" value="ger">')
else
writeln("HTML",'<INPUT type="hidden" name="lang" value="eng">')
writeln("HTML",'</form><p>')
writeln("HTML",'<p align="center"><font size="2">LibGuide is © 1996-1998 by </font><a href="mailto:age@thepentagon.com"><font size="2">Heiko Schröder</font></a><font size="2"><br>LibSearch is © 1998 by </font><a href="mailto:gaspode@cyberjunkie.com"><font size="2">Peter Teich</font></a><font size="2">, </font><a href="mailto:documedia@leipzig-info.net"><font size="2">docu:media</font></a><font size="2"> made with Perl 5.004</font></p></body></html>')
Close("Lib")
Close("HTML")
Exit